package main

import "fmt"

func findtype(i interface{}) {
	switch i.(type) {
	case string:
		fmt.Println("I am a string and my value is %s\n", i.(string))
	case int:
		fmt.Println("I am a string and my value is %d\n", i.(int))
	default:
		fmt.Printf("Unknown type\n")
	}
}

//func main()  {
////	findtype("Naveen")
////	findtype(77)
////	findtype(89.98)
////}
